﻿/*
The MIT License

Copyright (c) 2009 Gil Beyruth

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/

package com.firstpixel.multiuser
{
	import flash.display.Sprite;
	import com.firstpixel.multiuser.UserObj;
	import com.firstpixel.utils.Collection;
	
	public class RoomObj extends Sprite
	{
		private var _label:String;
		private var _rtmp:String;
		private var _statustag:String="free"; // full, locked, free
		private var _rid:int=0; //
		private var _user:UserObj;
		private var _userList:String;
		private var _icon:String;
		private var _totalClients:int=0;
		public function RoomObj()
		{
			super();
		}
		public function set label(value:String):void{
			_label = value 
		}
		public function get label():String{
			return _label;
		}
		public function set rtmp(value:String):void{
			_rtmp = value 
		}
		public function get rtmp():String{
			return _rtmp;
		}
		public function set statustag(value:String):void{
			_statustag = value 
		}
		public function get statustag():String{
			return _statustag;
		}		
		public function set icon(value:String):void{
			_icon = value 
		}
		public function get icon():String{
			return _icon;
		}
		public function set userList(value:String):void{
			_userList = value 
		}
		public function get userList():String{
			return _userList;
		}
		public function set rid(value:int):void{
			_rid = value 
		}
		public function get rid():int{
			return _rid;
		}		
		public function set totalClients(value:int):void{
			_totalClients = value 
		}
		public function get totalClients():int{
			return _totalClients;
		}		
	}
}